﻿using Basic.FormRemoteModel.PhysicalGroup.Model;
using WeDonekRpc.Client;
using WeDonekRpc.Model;

namespace Basic.FormService.Interface
{
    public interface IPhysicalGroupService
    {
        long Add ( PhysicalGroupSet obj );
        void Delete ( long id );
        PhyGroupData Get ( long id );
        PhyGroupItem[] GetEnables ();
        PagingResult<PhyGroupDto> Query ( PhysicalGroupQuery query, IBasicPage paging );
        bool Set ( long id, PhysicalGroupSet obj );
        void SetIsEnable ( long id, bool isEnable );
    }
}